projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dadebb
)
basic-test: Fixup mtime check for bare-user
author
Colin Walters
<walters@verbum.org>
Wed, 17 Dec 2014 16:34:10 +0000
(11:34 -0500)
committer
Colin Walters
<walters@verbum.org>
Wed, 17 Dec 2014 16:34:10 +0000
(11:34 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=741662
tests/basic-test.sh
patch
|
blob
|
history
diff --git
a/tests/basic-test.sh
b/tests/basic-test.sh
index a9a9502f9dbb1f3be428b19462c5e7090a245d44..d097a320c51a992df7a67e1d1117ce8b4bcdca8f 100755
(executable)
--- a/
tests/basic-test.sh
+++ b/
tests/basic-test.sh
@@
-338,7
+338,11
@@
echo "ok remote show-url"
cd ${test_tmpdir}
rm -rf test2-checkout
-$OSTREE checkout test2 test2-checkout
+if grep bare-user repo/config; then
+ $OSTREE checkout -U test2 test2-checkout
+else
+ $OSTREE checkout test2 test2-checkout
+fi
stat '--format=%Y' test2-checkout/baz/cow > cow-mtime
assert_file_has_content cow-mtime 0
echo "ok content mtime"